package com.pig4cloud.pig.qc.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pig4cloud.pig.qc.entity.OrderEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderService extends IService<OrderEntity> {

	//	IPage<OrderEntity> orderPage(Page<OrderEntity> page, LambdaQueryWrapper<OrderEntity> wrapper);
	IPage<OrderEntity> getOrderPage(Page page, OrderEntity order);

    void addOrder(OrderEntity order);

	void updateInfo(OrderEntity order);

	Long getInfoIdByCarCode(String carCode);

	List<String> getCustomerNameList();

	List<OrderEntity> getCarCodeList();
}
